package cn.iocoder.yudao.module.member.controller.admin.newsStudyInfo.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 新闻信息(成果信息) Excel 导出 Request VO", description = "参数和 NewsStudyInfoPageReqVO 是一致的")
@Data
public class NewsStudyInfoExportReqVO {

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "类型:1:新闻2:成果")
    private Integer type;

    @ApiModelProperty(value = "栏目(成果)ID")
    private Long typeId;

    @ApiModelProperty(value = "封面地址")
    private String headUrl;

    @ApiModelProperty(value = "小程序封面地址")
    private String appletUrl;

    @ApiModelProperty(value = "详情")
    private String detail;

    @ApiModelProperty(value = "PDF地址")
    private String pdfUrl;

    @ApiModelProperty(value = "视频地址")
    private String videoUrl;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "开始发布时间")
    private Date beginReleaseTime;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "结束发布时间")
    private Date endReleaseTime;

    @ApiModelProperty(value = "状态0:未发布,1:发布")
    private String status;

    @ApiModelProperty(value = "权重")
    private Integer weight;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "开始创建时间")
    private Date beginCreateTime;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "结束创建时间")
    private Date endCreateTime;

}
